/* 博客页面基础样式 */
.blog-page {
  padding: 2rem 0;
  position: relative;
  outline: none;
}

/* 隐藏滚动条但保持滚动功能 */
.blog-page::-webkit-scrollbar {
  display: none;
}

.blog-page {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 页面头部 */
.page-header {
  margin-bottom: 2.5rem;
}

.header-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

/* 统计卡片样式 */
.stats-section {
  margin-bottom: 4.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  border-radius: 18px;
  padding: 2.2rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 36px 0 rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 1.6rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.22);
  transform: translateY(-3px) scale(1.02);
}

.stat-icon {
  font-size: 2.6rem;
  opacity: 0.85;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
  letter-spacing: -0.8px;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* 表单卡片样式 */
.form-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px);
  border-radius: 22px;
  padding: 3rem 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 48px 0 rgba(0, 0, 0, 0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.form-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 56px 0 rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.form-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 2.2rem 0;
  letter-spacing: -0.4px;
  position: relative;
}

.form-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, #1890ff, transparent);
  border-radius: 1px;
}

/* 表单样式 */
.form-card :deep(.ant-form-item-label > label) {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  margin-bottom: 0.5rem;
}

.form-card :deep(.ant-input),
.form-card :deep(.ant-input-affix-wrapper) {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-size: 1rem;
  box-shadow: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.9rem 1.2rem;
  font-weight: 500;
}

.form-card :deep(.ant-input:focus),
.form-card :deep(.ant-input-affix-wrapper-focused) {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(24, 144, 255, 0.5) !important;
  box-shadow: 0 0 0 4px rgba(24, 144, 255, 0.12) !important;
  transform: translateY(-1px);
}

.form-card :deep(.ant-input::placeholder),
.form-card :deep(.ant-input-affix-wrapper input::placeholder) {
  color: rgba(255, 255, 255, 0.45) !important;
  font-weight: 400;
}

.form-card :deep(.ant-btn-primary) {
  background: linear-gradient(135deg, #1890ff 0%, #0050b3 100%) !important;
  border: none !important;
  border-radius: 14px !important;
  height: 48px !important;
  font-weight: 600 !important;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(24, 144, 255, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.form-card :deep(.ant-btn-primary::before) {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.form-card :deep(.ant-btn-primary:hover::before) {
  left: 100%;
}

.form-card :deep(.ant-btn-primary:hover) {
  background: linear-gradient(135deg, #40a9ff 0%, #096dd9 100%) !important;
  box-shadow: 0 8px 24px rgba(24, 144, 255, 0.45) !important;
  transform: translateY(-2px) scale(1.02);
}

/* 区域标题样式 */
.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.4px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1890ff, #52c41a);
  border-radius: 2px;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state :deep(.ant-empty-description) {
  color: rgba(255, 255, 255, 0.6) !important;
}

.empty-state h3 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.empty-state p {
  margin: 0;
  font-size: 1rem;
}

/* 分页容器 */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding: 0 2rem;
}

.custom-pagination {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.custom-pagination :deep(.ant-pagination-item) {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0 0.25rem !important;
  border-radius: 8px !important;
  transition: all 0.3s ease;
}

.custom-pagination :deep(.ant-pagination-item:hover) {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(24, 144, 255, 0.5) !important;
  transform: translateY(-2px);
}

.custom-pagination :deep(.ant-pagination-item-active) {
  background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%) !important;
  border-color: #1890ff !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.custom-pagination :deep(.ant-pagination-item a) {
  color: inherit !important;
  font-weight: 500;
}

.custom-pagination :deep(.ant-pagination-total-text) {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
}

.custom-pagination :deep(.ant-pagination-prev),
.custom-pagination :deep(.ant-pagination-next) {
  display: none !important;
}

/* 动画 */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .stat-card {
    padding: 1.8rem 1.5rem;
  }

  .stat-icon {
    font-size: 2.2rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .form-card {
    padding: 2.5rem 2rem;
  }

  .pagination-container {
    padding: 0 1rem;
  }

  .custom-pagination {
    padding: 0.8rem 1.5rem;
  }
}